package it.polito.dao;


import java.util.List;

import org.springframework.dao.DataAccessException;

import umls.geneus.core.data.Abstr;
import umls.geneus.server.data.Mapping;


public interface GeneusDao{
//	List<String> getPrefferedNames(String term);
//	List<String> getId(List<String> input)throws DataAccessException;
	public String getAbstract(String id)throws DataAccessException, DataNotFoundException;
	public void saveAbstract(String id, String abstr)throws DataAccessException;
	public Mapping getMapping(String id)throws DataAccessException, DataNotFoundException;
	public void saveMapping(Mapping m);
	public List<String> getPubmedIdsFromKeyword(List<String> input)throws DataAccessException, DataNotFoundException;
	void saveAbstract(Abstr a) throws DataAccessException;
	
}
